package com.service;


import com.controller.reqdto.*;
import com.controller.respdto.GroupList;
import com.controller.respdto.PcList;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Ruiwen
 * @since 2024-11-19
 */
@Service
public interface GroupService {

    /**
     * 新增群组
     * @param groupAddParam
     * @return
     */
    Boolean addGroup(GroupAddParam groupAddParam);

    /**
     *  修改群组
     * @param updateParam
     * @return
     */
    Boolean updateGroup(GroupUpdateParam updateParam);

    /**
     * 分页查询群组
     * @param queryParam
     * @return
     */
    GroupList queryGroup(GroupQueryParam queryParam);

    /**
     * 删除群组
     * @param groupId
     * @return
     */
    Boolean deleteGroup(String groupId);

    Boolean joinGroup(JoinGroupParam joinGroupParam);

    Boolean exitGroup(ExitGroupParam exitGroupParam);
}
